
public class Dog extends Animal {
	protected String type;
	// Constructor
	public Dog(){
		super();
		type = "";
		System.out.println("Dog class generated! " );
	}
	
	public Dog(String name, int age ){
		this.name = name;
		this.age = age;
	}
	
	public Dog(String name, int age, String type ){
		super();
		this.type= type;
	}
	
	public void bark(){
		System.out.println("Woof!! Woof!!" );
	}
	
	public void eat(){
		System.out.println("Wagg eat ... " );
	}
}
